package com.circles.common.dao.sqlmap;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.circles.common.dao.CommonDao;
import com.circles.user.entity.UserDto;

@Repository
public class SqlMapCommonDao implements CommonDao {
	
	@Autowired
	private SqlSession sqlSession;
	
	@Override
	public UserDto userProfileView(String userNum) {
		return sqlSession.selectOne("CommonMapper.userProfileView", userNum);
	}

}
